package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbUserMedalRelationHistory;
import com.quanyan.user.model.db.TbUserMedalRelationHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbUserMedalRelationHistoryMapper {
    int countByExample(TbUserMedalRelationHistoryExample example);

    int deleteByExample(TbUserMedalRelationHistoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbUserMedalRelationHistory record);

    int insertSelective(TbUserMedalRelationHistory record);

    List<TbUserMedalRelationHistory> selectByExample(TbUserMedalRelationHistoryExample example);

    TbUserMedalRelationHistory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbUserMedalRelationHistory record, @Param("example") TbUserMedalRelationHistoryExample example);

    int updateByExample(@Param("record") TbUserMedalRelationHistory record, @Param("example") TbUserMedalRelationHistoryExample example);

    int updateByPrimaryKeySelective(TbUserMedalRelationHistory record);

    int updateByPrimaryKey(TbUserMedalRelationHistory record);
}